package pages;

import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;

public class LoginPage extends Page {
	
	@FindBy(id = "loginform")
	public static WebElement loginForm;
	
	@FindBy(id = "username")
	public static WebElement userNameField;
	
	@FindBy(name = "password")
	public static WebElement passwordField;
	
	@FindBy(name = "submit")
	public static WebElement loginButton;
	
	public static boolean isOnThisPage() {
		return loginForm.isDisplayed();
	}

}
